package com.lxu.finance.mapper;

import com.lxu.finance.entity.YwInveSurveyReportIndex;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface FinanceMapper {

    List<Map<String, Object>> findTemplate(String templateType);

    List<Map<String, Object>> findFinanceBlance(String inveSurveyDetailId);

    List<Map<String, Object>> findFinanceProfit(String inveSurveyDetailId);

    void deleteByInveSurveyDetailId(String inveSurveyDetailId);

    void insert(YwInveSurveyReportIndex index);
}
